//BitWorks V1.0 001
//Half-Bit Gaming, LLC
//This script developed by Harvey Barnes

//bw_loadDataString(section,key)
//returns the string or number from the file

//Opens the file, this is a set file.
ini_open("data/default.ini")    //Make the file an argument instead? Make it pull a variable?

//Establishes the "rv" variable and sets it a default value
var rv = 404

//Checks if the KEY is a string, then reads it as a string
if is_string(argument1) {
    rv = ini_read_string(argument0,argument1,404)
else
    return "Not a string!"
    }

//Closes the INI file
ini_close()

//Returns the "rv" value
return rv
